python print float in scientific notation

33

python print float in scientific notation -

v = 2.50435-e03
'%.2E' % v

# returns '2.50E-03'

Comments

Submit
0 Comments